﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="laojing.aspx.cs" Inherits="WebApplication1.laojing" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <h1>螺旋宿舍</h1>
        <div>
            <asp:GridView ID ="gv1" runat ="server" OnRowCancelingEdit="gv1_RowCancelingEdit" OnRowDeleting="gv1_RowDeleting"
                OnRowEditing="gv1_RowEditing" OnRowUpdating="gv1_RowUpdating" AutoGenerateColumns="False">
                <Columns> 
                    <asp:BoundField DataField="Id" HeaderText ="ID" />
                    <asp:BoundField DataField="Name" HeaderText ="用户名" />
                    <asp:BoundField DataField="Password" HeaderText ="密码" />
                    <asp:BoundField DataField="Remasrk" HeaderText ="备注" />
                    <asp:CommandField ShowCancelButton="true" ShowEditButton="true" ShowDeleteButton="true" HeaderText="秀一波"/>
                </Columns>

            </asp:GridView>
        </div>
    </form>
</body>
</html>
